package wei.xinya.pattern.creational.singleton;

/**
 * 单例枚举
 */
public enum SingletonEnum {
    INSTANCE;

    public void doSomeThing() {
        System.out.println("枚举方法实现单例");
    }
}
